Saturday, June 22, 2019

Useful Unix/Linux command used in IBM Sterling WMS

S.No.
Unix/Linux Command
Purpose
1
df -h
 Shows free disk space. 
 Shows all filesystems mounted
2
ls -l
 List files long format
3
ls -ltr
 Sorting the Formatted listing by time modification
4
cd dir
 Change directory to dir
5
pwd
 Show current working directory
6
mkdir dir
 Creating a directory dir
7
cat >file
 Places the standard input into the file
8
more file
 Output the contents of the file
9
tail -f file
 Output the contents of file as it grows,starting with the last 10 lines
10
touch file
 Create or update file
11
rm file
 Deleting the file
12
rm -r dir
 Deleting the directory
13
rm -f file
 Force to remove the file
14
rm -rf dir
 Force to remove the directory dir
15
cp file1 file2
 Copy the contents of file1 to file2
16
mv file1 file2
 Rename or move file1 to file2,if file2 is an existing directory
17
ps
 To display the currently working processes
18
top
 Display all running process
19
kill pid
 Kill the process with given pid
20
date
 Show the current date and time
21
whoami
 Who you are logged in as
22
w
 Display who is on line

No comments:

Post a Comment

Popular Posts