Documente Academic
Documente Profesional
Documente Cultură
ls
If you want to see hidden files/directories (beginning with dot.), the use -a flag.
ls -a
Check the manual for more detail (man ls).
cd ../
cd /home/Desktop
Remember,
pwd
/home/Desktop/scripts
mkdir funny_stuffs
rm useless.sh
NOTE : it removes directories only if it�s empty, unless you specify -f flag for
force deletion. But you must be careful with the arguments such as -r, -f. (-rf is
very dangerous).
e.g
mv file1 ~/Downloads/Archive/
the above command will move the file from the current directory to target
directory.
mv logo_2.jpg new_logo.jpg
it will rename the file to new_logo.jpg.
cat install.log
man rm
cp movie_name.mp4 ~/Downloads/movies/
The above command will copy the movie_name.mp4 to the specified directory.
GNU Wget or wget is very handy in downloading stuffs from internet, over the
command line.
wget url_of_the_content
gksudo nautilus
The above command will open nautilus with root privilege. It�s just like sudo, but
in GUI mode.
shutdown -h
where time can be 0 if you want to shutdown now or specify the exact time such as
10:30.
restart
Package Management
These are Ubuntu Specific commands. It Requires root privilege, so just add the
sudo prefix before each command (it will ask for the user password and you�re
done!).
e.g add the PPA for the App Eidete (Screencasting program)