6th November 2008
in
cli
Using the command line can save you time. Say you want to archive all the .DOC files from your entire /home directory. Use locate .doc | grep /home/ | zip arhivate -@ to obtain an archive of these files.
[...]
Tags: cli, files, terminal
No Comments
6th November 2008
in
cli
If you want to find out what processes are currently running, you can use pidof. For example, pidof xmms will return something like
t4l@laptop:~$ pidof xmms
9962 9031
[...]
Tags: cli, processes, terminal
No Comments
6th November 2008
in
cli
To quickly check what group our user is in, we can use the id command. To compress the result in a more easily read output, we can use id -Gn.
For example:
t4l@laptop:~$ id -Gn
t4l adm dialout cdrom floppy audio dip vide[...]
Tags: cli, groups, terminal, users
No Comments
6th November 2008
in
cli
In Linux, if you want to see what files from your /home folder belong to your user account, you can launch the ls -alFG $HOME command.
[...]
Tags: cli, files, terminal
No Comments