Académique Documents
Professionnel Documents
Culture Documents
cal
cal -y
cal 2018
ls list
cd .. directory roll back
cd - previous working directory
cd / root directory
pwd for absolute path name
--------------------------------
root folders
bin
opt - chrome
tmp
home->user
---------------------------------
INODE
inode number
file size
owner info
permission
file type
number of links
-------------
---------------------------------------------------------------------------
ln originalfilename hardlink1 same inode number, create hardlink same filesize
---------------------------------------------------------------------------
ln -s orginalfilename softlinkname different inode number, small file same size
---------------------------------------------------------------------------
hardlink not effected by even if original file is deleted
ls -l long listing
ls -t list by time
ls -R directoryname
------------------
combining commands
-----------------------------------------------------
ls -i -l long list with inode number
ls -il
-----------------------------------------------------
ls -tr reverse the output of files by time.
------------------------------------------------------
-------------
touch command
-------------
---------
directory
---------
-----
files
-----
----------
copy files
----------
----------
move files
----------
-------------------------------------
no file extension concept in linux
--------
shortcut
--------
alt+u will make it upper case
alt+l lower case
ctrl+l to clear screen
---------
gedit graphic interface
-------------------------------------
nano filename to access file
--------
history
--------
history will give all commands used
!180 excute command at 180 in history lis
history 20 last 20 commands used
-------------------------
less filename will only display file content
------------------------
* everything
? just one character
-----------------------------------------
using alias to make new commands