Copy all files in a directory
user@pc:~$ cp -R /thisFolder
Pause a process that is currently executing.
user@pc:~$ CTRL + z
See a list of Jobs which have been paused
user@pc:~$ jobs
Resume a process that has been paused
user@pc:~$ fg
Stop of process that is currently executing
user@pc:~$ CTRL + c
View the history of the previous commands that have been entered. Each previous command will be enumerated for convenient re-use.
user@pc:~$ history
To re-run a command from the command history take note of the command number associated with the command from running the history command. Alternately you can type CTRL + r and start typing a command, and a matching command will be looked up in the history.
user@pc:~$ !18
Create a compressed archive file from the files foo and bar
user@pc:~$ tar -cf archive.tar foo bar
Copy files over shh with the scp command to the current working directory
user@pc:~$ scp userName@yourServer:/path/to/files/you/want/ .
Add a new repository to your apt-get list, in this case the Mozilla stable repo
user@pc:~$ sudo add-apt-repository ppa:mozillateam/firefox-stable
Update your local repository listing
user@pc:~$ sudo apt-get update
I know this list is quite short at the moment but I'll be adding to it as I have time. In the mean time if any of my reader would like to contribute and comments I'll be sure to update my post accordingly.
No comments:
Post a Comment