Skip to content

Tag Archives: CLI

Question of the Day - 6 June 2008

05-Jun-08

How can you reverse the order of lines in a file via the command line?

Undoing FLAC

19-May-08

A friend of mine convinced me that the way to go when ripping CDs is to use a lossless audio codec, in order to retain the maximum amount of audio fidelity. Given the low cost of hard disk space (heck, 1 terabyte hard drives are under US$200 these days), it makes sense to keep your [...]

Question of the Day - 14 May 2008

14-May-08

What command would you use to mount a native FreeBSD partition?

Question of the Day - 17 April 2008

17-Apr-08

Given the following, how would you start a graphical program (Firefox, Evolution, Deluge) from an ssh session?

Desktop environment is Gnome.
Workstation automatically logs you in at boot.
You can execute commands as root using sudo if necessary.

Question of the Day - 12 April 2008

12-Apr-08

If you run a program in a terminal window that generates more output than you can see in one screen, what are some ways to view the output one screenfull at a time?

Question of the Day - 11 April 2008

11-Apr-08

Which runlevel only allows root access?

Secure Data Destruction

09-Apr-08

It seems that almost every Linux blog I read today had something about recovering deleted files from ext3 filesystems. That’s all well and good, but what if you are sure you want the data deleted? What if it needs to be more than just deleted, it needs to be securely destroyed? Well the concept certainly [...]

Question of the Day - 4 April 2008

04-Apr-08

How can you check for the existence of one or more .zip files in a Bash script?

Question of the Day - 28 February 2008

28-Feb-08

How would you search for the string LINUX in all the .cpp and .h files found in the current directory and below from the command line?

Question of the Day - 21 February 2008

21-Feb-08

What command can you use to find out what kind of file you have? After all, we’re on Unix and we don’t need to use no stinkin’ file extensions!