Questions and Answers (1 / 5)
Bash Linux commands
1.
Add a user to the system
Adduser
2.
Add a group to the system
Addgroup
4.
Search Help manual pages (man -k)
apropos
5.
Search for and install software packages (Debian)
apt-get
7.
Find and Replace text, database sort/validate/index
awk
8.
Strip directory and suffix from filenames
basename
9.
GNU Bourne-Again SHell
bash
10.
Arbitrary precision calculator language
bc
12.
Exit from a loop •
break
13.
Run a shell builtin
builtin
14.
Compress or decompress named file(s)
bzip2
15.
Display a calendar
cal
16.
Conditionally perform a command
case
17.
Display the contents of a file
cat
19.
Partition table manipulator for Linux
cfdisk
20.
Change group ownership
chgrp
21.
Change access permissions
chmod
22.
Change file owner and group
chown
23.
Run a command with a different root directory
chroot
24.
System services (runlevel)
chkconfig
25.
Print CRC checksum and byte counts
cksum
26.
Clear terminal screen
clear
28.
Compare two sorted files line by line
comm
29.
Run a command - ignoring shell functions •
command
30.
Resume the next iteration of a loop •
continue
31.
Copy one or more files to another location
cp
32.
Daemon to execute scheduled commands
cron
33.
Schedule a command to run at a later time
crontab
34.
Split a file into context-determined pieces
csplit
35.
Divide a file into several parts
cut
36.
Display or change the date & time
date
38.
Convert and copy a file, write disk headers, boot records
dd
39.
Data recovery tool
ddrescue
40.
Declare variables and give them attributes •
declare
41.
Display free disk space
df
42.
Display the differences between two files
diff
43.
Show differences among three files
diff3
45.
Briefly list directory contents
dir
46.
Colour setup for `ls'
dircolors
47.
Convert a full pathname to just a path
dirname
48.
Display list of remembered directories
dirs
49.
Print kernel & driver messages
dmesg
50.
Estimate file space usage
du