Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… Re: What is the meaning of ls -l or rm -rf Programming Software Development by JasonHippy ls and rm are a couple of command-line/system programs in Unix and Linux operating systems, they aren't regular expressions. `ls` is used to list the files/directories in the current directory and `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 … Re Programming Software Development by gerd.brecht.1 ls -1 | grep ".h$" -> searches backwards findfirstchar '.' for file-type h [ C++ Header file ] ls -1 | grep ".cpp$" -> searches backwards findfirstchar '.' for file-type cpp [ C++ Source file ] etc... no DVI with VAIO in docking station Hardware and Software Hardware by rmeijn LS, Brief description: monitor does not connect with docking station over DVI while VGA works fine. Configuration: Sony VAIO model VGN-BX297XP, with docking-station VGP-PRBX1 and Philips LCD monitor 200XW7. Above configuration worked fine until some months ago the monitor broke down and was replaced by a new one. Next, the monitor did not … Upgrade office 2000 to 2003 Hardware and Software Microsoft Windows by Baronnetje LS., Im working with Windows XP Home. Is it possible to upgrade my Office 2000 to office 2003 with no costs??? Thanks!! Baronnetje Re: Wrapping _popen() Programming Software Development by Ancient Dragon ls doesn't work on Windows 7 [quote] Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Ancient Dragon>ls 'ls' is not recognized as an internal or external command, operable program or batch file. C:\Users\Ancient Dragon> [/quote] If you want the filenames then use /b … Re: executing unix commands from php Programming Web Development by DimaYasny ls -a shows full file details what linux distro are you using there? Re: O/P:filenames,lastmodified date,and the lastline Programming Software Development by Salem 'ls' and 'tail' Re: change file names Programming Software Development by bugmenot ls *.done | while read line ; do mv $line $(basename $line .done) ; done Re: An interactive menu using C Programming Software Development by Ancient Dragon ls, pwd, and who are *nix commands while graphics.h is a MS-DOS heder file using TurboC compiler. The two can not be mixed. You need to clarify exactly what it is that you want. If you can not, then you probably need to study C language more until it becomes clear in your head. Wold you attempt to build your own airplain if you don't know the… Re: Division with Round-toward-zero Programming Software Development by nbaztec << (LS) can be seen as a multiplication by 2 >> (RS) can be seen as a division by 2 so a number can be divided in terms of powers of 2 as: [CODE]int Divide ( int intVal, int powerOfTwo ) { if( !powerOfTwo ) return intVal; else return intVal >> (1 << powerOfTwo) ; }[/CODE] Re: When casting isn't enough... Programming Software Development by Ancient Dragon %ls also works (see [URL="http://linux.die.net/man/3/swprintf"]this[/URL] man page) [icode] swprintf(buf, sizeof(buf)/sizeof(buf[0]), L"G%lsY", L"AMEDA");[/icode] Re: image loading code not working properly Programming Software Development by woooee ls -l or use one of the GUIs like midnight commmander (google "linux file permissions" for more info). Note that you will have to be root or sudo to change them. Re: unable to start mysql in Linux Hardware and Software Linux and Unix by davy_yg ls /etc/init.d acpid lightdm rfkill-store acpi-support modemmanager rsync alsa-restore module-init-tools rsyslog alsa-store mysql 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. Debian 7 Wheezy - LS not acting as expected Programming Software Development by cjohnweb Hello! I am normally in the PHP / Web Development section of DaniWeb. It's a pleasure to finally have a reason to check out other sections of DaniWeb! So, I am logged in as root at the Command Line Interface over SSH - on Debian 7 Wheezy running on a BeagleBone Black Rev B6 - and I am running into an unexpected problem. I have made a folder ~/… 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 Taywin, I did not have files inside the directory! That was the issue - it was working but not as I expected: it was trying to list the contents of the pythonversion directory, since it was empty, I got nothing. (And sorry, it took me a couple weeks to get back to your guys here.) That was it - I was trying to list the contents of the python\* … Using ls to list file sizes to 3 significant figures in human-friendly form Hardware and Software Linux and Unix by polygon Dear Folks, Using bash on Linux, how would I list file sizes to 3 significant figures in human-friendly form? If I try [CODE]ls -lh[/CODE] I get 2 significant figures, but I would like to get 3 significant figures. Also, there is the almighty muddle between megabytes and mebibytes that leads to confusion about what is being really … Using ls to list file sizes to 3 significant figures in human-friendly form Programming Software Development by polygon Dear Folks, Using bash on Linux, how would I list file sizes to 3 significant figures in human-friendly form? If I try [CODE]ls -lh[/CODE] I get 2 significant figures, but I would like to get 3 significant figures. Also, there is the almighty muddle between megabytes and mebibytes that leads to confusion about what is being really … ls Vs sort algorithm in Scan Directory test program Programming Software Development by mrboolf Hi all. I am playing around with [URL="http://www.gnu.org/software/libc/manual/html_node/Reading_002fClosing-Directory.html#Reading_002fClosing-Directory"]this[/URL] and [URL="http://www.daniweb.com/code/snippet579.html"]this[/URL] code snippet by Ancient Dragon. I didn't want to copy-paste so I came out with various … Re: ls Vs sort algorithm in Scan Directory test program Programming Software Development by mrboolf They are the same directory, only there's something like 926 entries in that directory so I cut it short :S Only ls sorts them in a different way: the following directories [CODE]A Perfect Circle - Emotive (2004) A Perfect Circle - Mer De Noms (2000) A Perfect Circle - Thirteenth Step (2003) A Toys Orchestra - Technicolor Dreams (2007)[/CODE] … 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 Hi all, I am really new in bash scripting and I can't even make simple tasks What I am trying to do is executing a command (ls -l for this example), over a double leap ssh. [CODE] #!/bin/bash ssh -T myuser@entrypoint ssh -T myuser@targetpc<<EOI ls -ltr . exit EOI [/CODE] I did the following script before and it works, but … 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 I did some looking around the net, and I found the following about SuSE Linux 7.1, but should apply here: >LS-120 drives are connected to the (E)IDE port of the ocmputer and are seen by the system as hard drives, which means that they, too, need to be accessed by first using the mount command. > So, since they may not have any disk in … Re: LS-120 drive Hardware and Software Linux and Unix by jabberwock486 sorry that involves the internal IDE version of this drive. I have the external USB versiion. so the IDE part will not help. how do i get linux to detect the drive first, cant mount what it cant see( or if it doesnt have correct drivers) so here is my question. how can i use the LS-120 external USB drive in linux. chances are instructions … 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