Terminal in ubuntu, but after understanding how important it is to master the command line, finally. Now rarely even use the GUI to perform basic operationsterminal in Ubuntu. (for the location of the terminal in Ubuntu,
Start menu>accesories> terminal)
Start menu>accesories> terminal)
Here are some basic techniques of using the Terminal in Ubuntu:
ls
command ls it serves to know the contents of a folder / directory, for example:
suppose we have a directory named Desktop.
then type in the terminal
$ ls Desktop (Enter)
pwdcommand pwd to find out our current location / folder is located in what
cpFor cp is used to copy files or directories, for example, we want to copy filesfrom a directory named tes.pdf Desktop, to the directory / home / user, then thecommand is as follows:
pwdcommand pwd to find out our current location / folder is located in what
cpFor cp is used to copy files or directories, for example, we want to copy filesfrom a directory named tes.pdf Desktop, to the directory / home / user, then thecommand is as follows:
$ cp / home / user / Desktop / tes.pdf / home / user /If we want to copy a folder in linux, then we add the -r (without the quotes) to thesample, for example, we want to copy all the contents of folders in the folder"interference" into the folder Desktop, then type in terminal:
$ cp -r / home / user/ mix / home / user / Desktop
rmcommand rm is used to delete a file / folder, for example, we want to delete animage with the name /home /user /Art.jpg.
Then type in terminal
example:$ rm/home /user /Art.jpg
rmcommand rm is used to delete a file / folder, for example, we want to delete animage with the name /home /user /Art.jpg.
Then type in terminal
example:$ rm/home /user /Art.jpg
Comments
Post a Comment