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
In Linux, the command for compressing files is typically gzip or bzip2, often used in conjunction with tar to archive a group of files before compression. To check the manual page for the /etc/passwd file, the command is man passwd. The setuid bit is a permission setting that allows a user to execute a file with the permissions of the file owner, which is crucial for the su command to ensure that only authenticated users can switch to another user's account. Regarding process management, the command killall -e may not work as expected if there are issues with process names or permissions. Additionally, users are encouraged to explore interesting and complex commands to enhance their Linux proficiency.
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?
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

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