-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLinux_Advance
More file actions
64 lines (54 loc) · 1.69 KB
/
Linux_Advance
File metadata and controls
64 lines (54 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Kernal : is the heart of linux.
is the terminal, used to communicated between hardware and software.
Shell : to communicated with kernal.
Bootloder : is the process to restart all the files.
Commands :
Top : CPU utilization processor
df -h : disk size
free -h : ram (memory) usage
/ : root floder
state in processor in linux :
running
sleeping
stopped
killed(terminated)
zomble
ls : List the files
ls -l : list the files with details
cd : change directory
pwd : print working directory
rm : remove the file
rmdir : remove the directory
rm -r : remove recursive file
cat : print the contain of file
echo : print the sentence
echo "Hello" > filename : write the output in file
touch : create a file
zcat : read the contain of compress file
head : to print 1st 10 line
tail : to print last line
tail -f : monitor the file
less : pages dekhne hai to (less)
more : to print the pages
CP : copy the file
mv : rename the file/ move the file
wc : word count
hard link : shortlink if main file delete , shortlink will work.
soft link :
linux networking :
netstat -nltp : This displays the listening IP's and ports on your system
Managing and Troubleshooting System Services and Processes :
System command :
uname : to know the platform e.g linux
update : system update since when system is running
date : system date
whoami : system login user
which : which software is install that location, version
id : user id, group id
sudo : superuser do superuser permission
cd etc/passwd : list of user
shutdown : shutdown system
reboot : restart the system
apt : appln package manager (help to install the s/w within the system or from internet)
make a system up to date
yum --centos dnf-- awslinux portage --gentu linux rpm --redhat