What are some essential Linux commands and their intriguing uses?

  • Thread starter Thread starter heman
  • Start date Start date
  • Tags Tags
    Interesting Linux
AI Thread 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?
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
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...
Back
Top