aguea asia
LinuxCommands
@Linux_Commands
Useful Linux commands.
Joined April 2012
Tweets
19
Following
1,779
Followers
254
Likes
2
Photos and videos
Photos and videos
Tweets
LinuxCommands
@Linux_Commands
18 Apr 2012
"sudo" - allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file.
2
62
LinuxCommands
@Linux_Commands
16 Apr 2012
Returns > Just some text
LinuxCommands
@Linux_Commands
16 Apr 2012
$echo
"Just some text"
LinuxCommands
@Linux_Commands
16 Apr 2012
"echo" - Display a line of text.
LinuxCommands
@Linux_Commands
14 Apr 2012
"$df -h"For human readable space usage.
2
LinuxCommands
@Linux_Commands
14 Apr 2012
"df" - Report file system disk space usage
2
LinuxCommands
@Linux_Commands
13 Apr 2012
Result: Linux MachineName 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
LinuxCommands
@Linux_Commands
13 Apr 2012
Example $ uname -a
1
LinuxCommands
@Linux_Commands
13 Apr 2012
"uname" Prints system information.
2
LinuxCommands
@Linux_Commands
13 Apr 2012
$ "free -b" Display amount of free and used memory in bytes.
2
LinuxCommands
@Linux_Commands
13 Apr 2012
$ "free -k" Display amount of free and used memory in kilobytes.
2
LinuxCommands
@Linux_Commands
13 Apr 2012
$ "free -m" Display amount of free and used memory in megabytes.
LinuxCommands
@Linux_Commands
13 Apr 2012
$ "free -g" Display amount of free and used memory in gigabytes.
1
LinuxCommands
@Linux_Commands
13 Apr 2012
"free" - Display amount of free and used memory in the system.
LinuxCommands
@Linux_Commands
12 Apr 2012
"locate" - find files by name. Usage $ locate "fileName"
3
LinuxCommands
@Linux_Commands
11 Apr 2012
"whoami" prints current session userid
LinuxCommands
@Linux_Commands
10 Apr 2012
"touch" - creates new file if it doesn't exist or changes the timestamp of already existing file.
$touch
fileName
1
LinuxCommands
@Linux_Commands
9 Apr 2012
"cat" - combines and prints files to standard output. $ cat file //Prints the content of a file $ cat file1 file2 > file3 //Combines files
LinuxCommands
@Linux_Commands
8 Apr 2012
Probably one of most useful commands.
$find
-name '*.[ch]' | xargs grep -E 'search_term' Search 'search_term' in this directory recursively.
2
3
Load more