List of useful GNU/Linux based commands
#11
Thanks for sharing this! It has been very helpful soft for figuring out what what does or how to do something or delete a file and those kinds of things. Thanks for sharing this information to me and others. It has been really helpful so far so thanks Cheese

Lilysc1Smile
#12
Just a reminder, if you all find it useful and handy for yourselves, take few seconds of your time and rate me with a thank you comment rather than posting thank you notes here.
Left FreeVPS, may pay a random visit sometime.


#13
Thank you... useful for me on getting my wimax firmware.... nice post
:hi:
#14
It's definitely not "all". In particular, it lacks very useful (in my opinion) "file" command (it can be used for checking what file actually is). Also, "ps -I" doesn't appear to exist neither on my CentOS VPS or my Arch Linux installation.

[nopoints]

Terminal

glitchmr@pineapple ~> ps -I
error: unsupported SysV option

[/nopoints]

By the way, it would be worth mentioning that "at", "atq", "atrm" and "batch" require "at" package on CentOS, and "atd" daemon running.
There are 10 sorts of people in the world; those who understand ternary, those who don't, and those who thought this was a binary joke.
#15
(2013-02-24, 7:37:52 pm)GlitchMr Wrote:  It's definitely not "all". In particular, it lacks very useful (in my opinion) "file" command (it can be used for checking what file actually is). Also, "ps -I" doesn't appear to exist neither on my CentOS VPS or my Arch Linux installation.

[nopoints]

Terminal

glitchmr@pineapple ~> ps -I
error: unsupported SysV option

[/nopoints]

By the way, it would be worth mentioning that "at", "atq", "atrm" and "batch" require "at" package on CentOS, and "atd" daemon running.

Those commands are not limited to CentOS or Arch only, they're general Linux based, there's a possibility that they may not be available on a specific distro like CentOS or Arch or may require a daemon for specific distro. I havn't screened all commands, however they're found to be working on Debian based systems and were included by the guide. I took all the ones I found in the guide.
Left FreeVPS, may pay a random visit sometime.


#16
I can not confirm that "ps -I" works on Debian/Ubuntu or any other Linux distribution.

ps -I result:
[nopoints]

Terminal

nevil@xxxx:~$ ps -I
ERROR: Unsupported SysV option.
********* simple selection ********* ********* selection by list *********
-A all processes -C by command name
-N negate selection -G by real group ID (supports names)
-a all w/ tty except session leaders -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options ***********
-o,o user-defined -f full --Group --User --pid --cols --ppid
-j,j job control s signal --group --user --sid --rows --info
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
-F extra full X registers --heading --no-heading --context
********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m,-L,-T,H threads S children in sum -y change -l format
-M,Z security data c true command name -c scheduling class
-w,w wide output n numeric WCHAN,UID -H process hierarchy

[/nopoints]


"ps -I" (L not I) however works perfectly and corresponds to "-l,l long" of "output format" from the list above this.

Result:
[nopoints]

Terminal

nevil@xxxxx:~$ ps -l
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 1000 3988 3987 0 80 0 - 863 wait pts/0 00:00:00 bash
0 R 1000 4030 3988 0 80 0 - 645 - pts/0 00:00:00 ps

[/nopoints]


I & l are tricky letters.
#17
(2013-02-24, 8:08:22 pm)Ergo Proxy Wrote:  I & l are tricky letters.

Hmm, yeah. That makes sense. On this picture, the serif font was used however, and it's rather clean that uppercase "i" was used (not lowercase "L"). But that could be mistake nobody had noticed.
There are 10 sorts of people in the world; those who understand ternary, those who don't, and those who thought this was a binary joke.
#18
(2013-02-24, 8:18:48 pm)GlitchMr Wrote:  
(2013-02-24, 8:08:22 pm)Ergo Proxy Wrote:  I & l are tricky letters.

Hmm, yeah. That makes sense. On this picture, the serif font was used however, and it's rather clean that uppercase "i" was used (not lowercase "L"). But that could be mistake nobody had noticed.

Nope, there's no mistake regarding the font, rather the picture got pixelated a bit since I took screen-shots of each one of those images embedded in the guide via snipping tool, so that could be the reason for the misinterpretation.
Left FreeVPS, may pay a random visit sometime.


#19
m using a free 14 days trial vps.. m very new in this field so help me out
i installed both nginx nd apache2 in it
now i want to knw the command which will show all running process of my vps. in nginx i knw its htop.. plz provide me a similar command for apach2..
#20
(2013-03-21, 5:12:47 pm)spicyraj Wrote:  m using a free 14 days trial vps.. m very new in this field so help me out
i installed both nginx nd apache2 in it
now i want to knw the command which will show all running process of my vps. in nginx i knw its htop.. plz provide me a similar command for apach2..

Htop will work on any distribution if its installed. Alternatively, you can run top command.

Also, this thread is NOT help and support for your problems so post where it belongs, not here !
Left FreeVPS, may pay a random visit sometime.






Users browsing this thread: 1 Guest(s)