Tuesday, June 26, 2012

Examples of terminal commands


user@zorin:~$ sudo passwd
[sudo] password for user: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
user@zorin:~$ su
Password: 
Added user root.


root@zorin:/home/user# exit
exit
user@zorin:~$ 



user@zorin:~$ date
Thu Jun 28 17:56:32 PDT 2012




user@zorin:~$ ls
Desktop    Downloads  Pictures  Templates   Videos
Documents  Music      Public    Ubuntu One


user@zorin:~$ ls -l
total 36
drwxr-xr-x 2 user user 4096 Jun 28 16:50 Desktop
drwxr-xr-x 2 user user 4096 Jun 26 14:21 Documents
drwxr-xr-x 4 user user 4096 Jun 28 16:50 Downloads
drwxr-xr-x 2 user user 4096 Jun 26 00:57 Music
drwxr-xr-x 2 user user 4096 Jun 26 22:34 Pictures
drwxr-xr-x 2 user user 4096 Jun 26 00:57 Public
drwxr-xr-x 2 user user 4096 Jun 26 00:57 Templates
drwxrwxr-x 2 user user 4096 Jun 26 02:39 Ubuntu One
drwxr-xr-x 2 user user 4096 Jun 28 17:56 Videos


user@zorin:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Zorin
Description: Zorin OS 6
Release: 6
Codename: precise


user@zorin:~$ uname -a
Linux zorin 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 16:26:01 UTC 2012 i686 i686 i386 GNU/Linux


user@zorin:~$ uname -r
3.2.0-26-generic



user@zorin:~$ glxinfo | grep 'OpenGL renderer string'
OpenGL renderer string: GeForce GT 240/PCIe/SSE2



user@zorin:~$ cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq
Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz







No comments:

Post a Comment