how to move files, sudo command
location: ubuntuforums.com - date: July 14, 2009
I am trying to move a html file to var/www, but i don't have permission. does anyone know the sudo command I can use move files from on folder to another?
is there any linux command to download files from any ftp site remotely
location: linuxquestions.com - date: October 29, 2003
I recently came to know of the command wget used for remotely downloading data ie even when the user is logged off.But i could see that it did'nt work for sites.The same links when provided in the internet browser was successful & file started downloading.It also worked in Linux Download managers like Prozilla but not in wget.Though the anonymous user logs in successfully the download does not start or sometimes the error like
"No such file or directory"
too appears.Please provide a solution to this problem.
Running .sh files from the command line
location: linuxquestions.com - date: October 30, 2002
I have tried to run an application (Forte) from the command line "# runide.sh" but the bash returns command not recognized. The application will run, however, if you browse to the runide.sh from the browser.
I have given the file chmod 777 just to make sure all would have execute rights.
I am not sure what is preventing it from being executed from the command line.
Thanks for your help
rename a range of files using oneline command
location: linux.com - date: August 16, 2009
I have a range of files in a certain dir, like this,
$ touch file
file1 file2 file3 file4 file5 file6
now, how could rename them, and add a prefix to each file? for example, add a 'pre-' prefix, as following,
Thanks in advance. :cheer:
How to find the core files in linux with out using "Find" command?
location: linuxquestions.com - date: July 30, 2010
Can any one help me out.I have searched many forums but did not find a way to FIND A CORE FILE WITH OUT USING FIND COMMAND.
How to build wget command to save only newest files to differents paths ?
location: linuxquestions.com - date: November 13, 2011
This script will try to download 3 configuration files from my web server, my aim is to download only the newest modified files thats why i'm using the -N option, the problem is that the wget tool keep downloading the files even there is no modification in the remote files.When i omit the -P option all is ok but the files are not saved to there respective path i.e:
How can i build wget command to compare the local files saved in different locations with those saved in the web server in one command
How to Recover Deleted Files when rm command was used (I recovered using ext3grep)
location: linuxquestions.com - date: May 25, 2010
I thought I'd share this with anyone who made the same mistake I did when using the rm -r command on Linux (my distro is Ubuntu-9.10).
I'll spare you the sob story details, but In summary, I wiped out 60% of my VirtualBox .vdi files on one of my partions. The file sizes ranged from 3gb to 9gb files. (I did have some backups but 4 months ago). Needless to say I'll be backing my files up more often (especially my Virtual Image .vdi files). So here are the steps...: [ Look, I know it seems like allot of steps, but its worth it in the end!!]
(By the way, these are all ext3 filesystems, I would imagine you could recover fat32 [windows} type filesystems too, but I just did this under Linux filesystems)
1--> If you've found yourself deleted any files, try to unmount the partition. ( In my case it was an external 2 1/2 hard drive, command used to unmount is sudo umount /dev/sda3)
1b--> If you only have one partition, then I'd suggest shutting down your computer and putt
Linux command to find all files in a directory which contain ip addresses.
location: linuxquestions.com - date: August 19, 2012
Give a Linux shell command to find all files in a directory which contain ip addresses.
Linux/Unix Command to find RAM size?
location: linuxquestions.com - date: March 25, 2004
Is there any single command to find out RAM size on the m/c?
ls command can't see all files
location: ubuntuforums.com - date: November 19, 2009
Could someone please help me out with the ls command? If I use it in/on a directory containing lots of files and folders, I find that they run off the screen and I can't see the ones at the top. This isn't too much of a problem if I'm using a windowed terminal because I can use my mouse to slide up and down the window. I can't do that in a full-screen terminal, though.
In MS-DOS, you can add a switch to the dir command that will pause the listing as it fills the screen, then you press a key and the next load of files is revealed. Is there something similar in the Linux command line? I keep looking in the ls man, but just can't find anything to do the job. Perhaps I just can't see for looking!
Page: 1 2 3 4 5 6 7 8 9 10