What are some essential Linux commands and their intriguing uses?

  • Thread starter Thread starter heman
  • Start date Start date
  • Tags Tags
    Interesting Linux
Click For Summary
SUMMARY

This discussion focuses on essential Linux commands and their intriguing uses, specifically addressing file compression, user authentication, and process management. The commands highlighted include gzip and bzip for file compression, man passwd for accessing the manual page for the /etc/passwd file, and the significance of the set uid bit for the su command. Additionally, the limitations of the killall -e command in terminating processes are discussed.

PREREQUISITES
  • Basic understanding of Linux command line interface
  • Familiarity with file compression tools such as gzip and bzip
  • Knowledge of user permissions and the concept of setuid in Linux
  • Experience with process management commands like kill and killall
NEXT STEPS
  • Research the differences between gzip and bzip for file compression efficiency
  • Learn how to use man command effectively to access manual pages for various commands
  • Explore the implications of setuid and setgid permissions in Linux security
  • Investigate advanced process management techniques, including the use of pkill and htop
USEFUL FOR

System administrators, Linux enthusiasts, and anyone looking to enhance their command line skills and understand Linux process management and file handling.

heman
Messages
353
Reaction score
0
i have some queries..i was trying to find out some commands in the manual..
like,,

--what command can be used for compressing files in Linux..

--how to check man page for /etc/passwd ?

--and i am not clear with this uid command?
why is the "set uid bit" set for "su" command?

--and in killing processes,why does killall -e doesn't work??

And please tell about interesting and hard to figure commands which you are familiar with..
 
Computer science news on Phys.org
1) gzip or bzip make sure to tar a group of files first.
2) man passwd
3)set uid bit means that one must authenticate as what ever user is designated in order to open what ever it is... it is set for su because that is the switch user command and you don't want some one running around being able to get into everyone elses account.. now do you? :-)

4) do you want to kill bash and all the services as well?
 

Similar threads

Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
6K
  • · Replies 2 ·
Replies
2
Views
611
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K