Empty a file
This one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output.
Continue readingThis one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output.
Continue readingToday I was working on a bash script written by someone else. And the script was maintained since long and had actually become quite big and there was no indentation followed. So, you can understand how difficult it was to understand the script. So, I set my foot forth to first find a beautifier for the bash script before I fixed it and my search ended here.
Continue reading6 Good Web-Based FTP Clients For When You Are On The Road ftp clientsMost of the time, when you need to transfer files to your web hosting account or any other remote server, you might be at home on your laptop where you’ve got your favorite desktop FTP client installed. However, when you’re on the road or using a friend’s computer, a desktop FTP client may not be available.
Continue readingIf you are looking for a command to see the disk usage by each of the rpm‘s then you can use this command:
|
1
|
And if you use this command very regularly then you can create an alias like
|
1
|
and use it like
Continue reading|
1
|
While going through the source code for the well known ps command, I read about some interesting things.. Namely, that there are a bunch of different fields that ps can try and enumerate for you. These are fields I was not able to find in the man pages, documentation, only in the source.
Continue readingMake any command read line enabled (on *nix)
|
1
|
Enable readline even if the command line application is not using it.
* View this command to comment, vote or add to favourites * View all commands by pykler
commandlinefu.com
by David Winterbottom (codeinthehole.com)
URL: http://feedproxy.google.com/~r/Command-line-fu/~3/mKEgYoyHCMA/make-any-command-read-line-enabled-on-nix
The command is definately going to save your day if you have disowned the process by mistake. Only uses strace so might as well work on Solaris also, though not tried it.
intercept stdout/stderr of another process or disowned process
|
1
|
Useful to recover a output(stdout and stderr) “disown”ed or “nohup“ep process of other instance of ssh.
Continue reading