Professional Documents
Culture Documents
Linux Commands
Linux Commands
Solaris
IBM -AIX
HP-UX
Linux :
RHEL 6.8
Fedora
OEL
Cent OS
Commands:
1. cd <Directory>
eg : $ cd /opt
2. mkdir <Directory>
$ mkdir test
3. rmdir <Directory>
eg : $ rmdir test
4. who or finger
$who
5. whoami
6. whereis <command/bindary>
which will give the information about sytem type (32 bit or 64 bit) and operating
sytem details
like kernal version and when the OS is built
8. id
to know which user you are login and it shows the detials
about userid and group also
9. id <username>
$ id teja
-------------------------------------------
#useradd tomcat
#groupadd tomcatadmin
to delete a user
#userdel -d teja
15. top
to show the top most process whihc are running on the system and also
it shows the cpu's , physical memory and swap memory of total usage
and process wise, load average of the system
16. df -hT
to check the disk free space and usage of the entire file system
17. free -m
-l = list
-c = count
-v = cut
27. vi filename
eg :
rwxrwxrwx 777
-R ==> recursively
r = 4
w = 2
x = 1
4+2+1=7
u = user(owner) rwx
g = group rwx
o = other rwx
tail file
40. pwd
41. cd ..
42. ls -ltra
to show the list of files and directories in a long format in a perticular path
-l = long format
-t = time
-r = recursive order
48. su - username
51. ifconfig
52.ipconfig ( windows)
53.sed
./filename.bin/.sh
unzip filename.zip
su - tomcat
vi .bashrc
export JAVA_HOME=/opt/java/jdk1.6.0_45
export PATH=$PATH:/opt/java/jdk1.6.0_45/bin
save and exit --> logout from tomcat user and relogin , then check java is enabled
java
java -version
copy the software in /home/tomcat using winscp and run the below command
http://localhost:8080/
Task :
http://192.168.91.128:7000/