LS Hardware and Software Linux and Unix by jen140 Hello all. I have a small problem, i would like to make a statistics website. What i need is to show only two columns(creation date, filename) when i do "ls" to be like: 2009-2-2 filename Reading the man didnt helped much. Thanks in advance. ls Vs sort algorithm in Scan Directory test program Programming Software Development by mrboolf … { DIR *mypath; dirent *cd; vector<string> ls; if(argc<2) { return EXIT_FAILURE; } string path …;&&name!="..") { ls.push_back(name); } } sort(ls.begin(), ls.end()); unsigned int i; cout <…ScanDirectoryTest /media/Volume/Music/[/ICODE] and [ICODE]ls /media/Volume/Music/[/ICODE] and I found out… Re: ls Vs sort algorithm in Scan Directory test program Programming Software Development by mrboolf … in that directory so I cut it short :S Only ls sorts them in a different way: the following directories [CODE… by my program with the beginning of the 'A', while ls puts them right before the 'B' - it looks like in… white space to be "<" than 'a' while ls does not. If you need the complete output I can… Re: ls Vs sort algorithm in Scan Directory test program Programming Software Development by mrboolf I made a test with a dummy folder to explain myself better. [ICODE] ls /home/ludovico/Desktop/Test/ [/ICODE] output: [CODE]Aaaa A aaa Abcd A bcd[/CODE] [ICODE]./ScanDirectoryTest /home/ludovico/Desktop/Test/ [/ICODE] output: [CODE]A aaa A bcd Aaaa Abcd[/CODE] Hope that helps in making myself clear ^^" Re: ls Vs sort algorithm in Scan Directory test program Programming Software Development by Ancient Dragon The ls command is not sorting alphabetically using standard ascii decimal values. If you look at a standard ascii chart you will see that a space has a lower decimal value than any letter, and that's why "A aa" is before "Aaa". Maybe its sorting by file creation time or something like that. ls -l throw double leap ssh Programming Software Development by tikoti … What I am trying to do is executing a command (ls -l for this example), over a double leap ssh. [… -T myuser@entrypoint ssh -T myuser@targetpc<<EOI ls -ltr . exit EOI [/CODE] I did the following script … [CODE] #!/bin/bash ssh -T myuser@targetpc<<EOI ls -ltr . exit EOI [/CODE] My naive assumption was that it… Re: ls -ltr command Hardware and Software Linux and Unix by JasonHippy With the ls command, the 'l' flag uses a longer listing format, 't' sorts by modification time and 'r' reverses the order of the sort. To list folders recursively you'd need to use the 'R' flag! Remember man pages are your friend. To see all of the available options for the ls command use: [ICODE]man ls[/ICODE] LS-120 drive Hardware and Software Linux and Unix by jabberwock486 how do i use the LS-120 drive(imation 120MB superdisk) with linux. i can detect it by probing hardware but thats it. i am useing the USB version and suse 8.2. how can i use my drive. Re: LS-120 drive Hardware and Software Linux and Unix by Tekmaven … about SuSE Linux 7.1, but should apply here: >LS-120 drives are connected to the (E)IDE port of… Re: LS-120 drive Hardware and Software Linux and Unix by jabberwock486 …) so here is my question. how can i use the LS-120 external USB drive in linux. chances are instructions for… ls -ltr command Hardware and Software Linux and Unix by prem2 Dear all, I want to know what exactly the below command does in linux box. Command : ls -ltr Is this command sort only the main folders or it sort including the subfolders. Thankyou, Regards, Prem Re: ls -ltr command Hardware and Software Linux and Unix by DavidB … present working directory. help gives a lot of useful information: `ls --help` Here are the relevant lines output when I ran… Re: What is the meaning of ls -l or rm -rf Programming Software Development by JasonHippy … and Linux operating systems, they aren't regular expressions. `ls` is used to list the files/directories in the current…`rm` is used to remove/delete files. As stated, `ls -l` lists the files/folders in the current directory. The… l parameter makes ls list more detailed information about the items in the current… Re: LS Hardware and Software Linux and Unix by kermit You could [url="http://totally-out-of-ideas.blogspot.com/2009/02/getting-simple-directory-listing-in.html"]roll your own[/url]. Re: LS Hardware and Software Linux and Unix by jen140 Ok, ty vm =) Debian 7 Wheezy - LS not acting as expected Programming Software Development by cjohnweb …page, I should be able to do this: ls [option] [file]. I copied this right out…install mlocate or other tools such as this, ls should be sufficient. I'll be around … and time!! From SSH: root@beaglebone:~/folder# ls -halt total 12K drwxr-xr-x 3 root …Aug 15 17:33 .. root@beaglebone:~/folder# ls -l total 4 drwxr-xr-x 2 root… Re: Debian 7 Wheezy - LS not acting as expected Programming Software Development by rubberman Leave off the trailing '/'. IE: ls -l python* Assuming that the directory is not a soft-link, then you will see the contents of the directory (or directories). Re: Debian 7 Wheezy - LS not acting as expected Programming Software Development by cjohnweb … which was empty. I fixed the issue by using grep: ls -l ~/folder/ | grep python* Thanks for your help guys… i need to use C++ to format the output from the ls -ali command Programming Software Development by denner the ls -ali output will be treated like a string input for …++ program i need to write. i have tried to output ls -ali command into a txt file and below is the… output of the ls -ali: -rwxr--r-- 1 User1 root 26 Nov2 19:51… Re: i need to use C++ to format the output from the ls -ali command Programming Software Development by stilllearning … scripting :). If you are going to parse the output of ls -al, keep in mind that your permissions, are for the… the file name. Lets say you redirect your ls -al contents to a file (ls -al > contents). You can then open… Re: i need to use C++ to format the output from the ls -ali command Programming Software Development by skatamatic … guru, but i think you could redirect the output of ls to a file within a system() call. I forget how… What are the 4 Ls of lead generation? Digital Media Digital Marketing by VoozTech The 4 Ls of lead generation are a framework that helps businesses focus … the key elements necessary for successful lead generation. The 4 Ls stand for: Lead Capture: This refers to the process of… Re: What are the 4 Ls of lead generation? Digital Media Digital Marketing by Anika_4 … expertise and a well-executed strategy. By incorporating the 4 Ls framework into your lead generation efforts, you can effectively attract… dell latitude LS power up problem Hardware and Software Hardware by jason b hello, i have a dell latitude LS 400mhz pentium III with XP installed.. I was trying to … Dell Latitude Ls Boot Up Issues Hardware and Software Hardware by bonkaroo … i had these problems!! i purchased a used Dell Latitude LS from ebay almost a year ago. it was slow and… popen and "ls" Programming Software Development by Line … currently stuck with getting the results after calling system("ls") so I can send it from server to client… system("ls") okay, system("cp") not. Why? Programming Web Development by hansF … explain why the following works... [code] <?php system("ls /home/hans/"); ?> [/code] and this not..... [code] <… Using ls to list file sizes to 3 significant figures in human-friendly form Hardware and Software Linux and Unix by polygon … significant figures in human-friendly form? If I try [CODE]ls -lh[/CODE] I get 2 significant figures, but I would… Using ls to list file sizes to 3 significant figures in human-friendly form Programming Software Development by polygon … significant figures in human-friendly form? If I try [CODE]ls -lh[/CODE] I get 2 significant figures, but I would… Mimic Code of LS comand. Programming Software Development by Eonimal Hello! I am trying to make a mimic code of LS command in C. It is compiled with gcc in ubuntu, …