common command

YaadD

New Member
Joined
Nov 11, 2021
Messages
2
Reaction score
0
Credits
24
Hello all,
I'm first using the command line and i wont to know if there is some guide to help me.
For now I just wont to know how I open a new file and the shortcut for application.

Thanks,
Yaad
 


Depends on the file. if its a .doc i go to menu of LibreOffice and use open file

If its say a system file and i just want to look at it say at /var/log called pacman.log i might use:
[andrew@darkstar:~]$ cat /var/log/pacman.log | head

for edit of something i might use any of geany, vim, nano eg for php probably geany
 
Hello all,
I'm first using the command line and i wont to know if there is some guide to help me.
For now I just wont to know how I open a new file and the shortcut for application.

Thanks,
Yaad
Hello Yaad,
Welcome to Linux.org
here is a page that will help you learn the terminal/ command line.
 
[andrew@darkstar:~]$ cat /var/log/pacman.log | head
@captain-sensible - In this particular scenario - there's no need to use cat and head together.
You can use the head command on it's own:
Bash:
head /var/log/pacman.log
Sorry for derailing the thread. Just thought I'd chime in with a little tip!
 

Members online


Top