![]() |
|
#1
|
||||
|
||||
Useful SSH / Unix commandsThis is my 'quick find' list of SSH / Unix commands:
rm : delete files. rm -r [directory] : empties and deletes directory recursively. mkdir : Creates a directory. cd : Change to directory. mv : Move or Rename a file / directory ls : Directory / file listing. Please feel free to add to this list. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
||||
|
#2
|
||||
|
||||
|
ls -al / long directory listing
rm -f / remove files, force...it doesn't ask... rm -rf / remove, force, recursive (subdirs and files) du / how much disk space you are using. df / how much disk space is available. du -m / how much disk space you are using in megabytes. wc / count words in a file or files. wc -l / count lines in a file or files. Just what I can think of off the top of my head as useful for the average user. If I think of anymore I'll post 'em |
|
#3
|
|||
|
|||
|
su Super-User (must have root password)
find finds files (there are some switches that are needed) chmod change permissions of a dir chown change the owner of a dir chgrp change the group of a dir cd ~ takes you to your home dir The tab key is also a very useful tool, you can type for instance "cd /ho{tab}" and you go to Linux types the rest of the dir name for you. Nick |
|
#4
|
||||
|
||||
linux 'find' very useful when unzipping filesI am very familiar with the linux 'find' command.
Everytime I unzip a file on linux, for some strange reason all the unzipped file permissions get messed up. so i do this: Code:
code courtesy of Scott Deming ; www.vilitas.com __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
|
Isn't Linux Great!!!
Nick |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cheap Canadian Hosting | tigerlillyhost | Web Hosting Advertisements & Offers | 0 | 27-Jul-2003 21:51 |
| How do I find the Unix log file route? | jrobbio | Web Hosting Forum | 4 | 04-Feb-2003 08:40 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The