Operating System Commands
Operating System Commands
[ugoa...][[+-=][perms...]...]
A combination of the letters u,g,o and a controls which users’
access to the file will be changed: the user who owns it (u), other
users in the file’s group (g), other users not in the file’s group (o),
or all users(a). if none of these are given, the effect is as if a were
given, but bits that are set in the umask are not affected.
1) Ls: listing all files in a system.
2) Pwd: print working directory.
3) Cd: takes you back to your home directory.
4) Mkdir: Makes a new directory which you can name it.
5) Rmdir: Removes directory that should be empty.
6) Cp file1 file2: makes a copy of file1 and calls it file2.
7) History: list your last 10 commands and numbers them.
8) Who: displays the the users who logged on.
9) Sort: Command that sorts the specified files.
10) Man: online manual (help) about commands.
11) More: look at file, one page at a time.
12) Rm: Remove or deletes a file.
13) Lpr: sends a file to the printer.
14) Df: checks the amount of free disk space.
15) Passwd: Command that changes the password.
16) Grep: find a which files contain a certain word.
17) Split: splits up a file into sub files.
18) Join: Joins two sorted files on a common key.
19) Alias: is a way of mapping one word to another( example
instead of typing “Dahrouj”, simply making it shorter for “Dah”
20) Shred: Securely remove your file by overwriting then removing.